import {roleRoutes} from '@/router/index'


const state={
    // 动态路由
    routes:roleRoutes
}
const mutations={
    SET_ROUTES(state:any,data:any){
        state.routes = [...data]
    }
}
const actions ={

}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}